package DesignPatern.A12_策略模式.QSB.A01_基本模式;

/**
 * @Author: Du
 * @Date: 2021/7/31 11:42
 */
public class Context
{
    private IStrategy strategy;
    
    public Context(IStrategy strategy)
    {
        this.strategy = strategy;
    }
    
    public void operate()
    {
        this.strategy.operate();
    }
}
